import 'package:get/get_navigation/src/routes/get_route.dart';
import 'package:tin_flutter/ui/activity/brand/detail/brand_detail_binding.dart';
import 'package:tin_flutter/ui/activity/brand/detail/brand_detail_page.dart';
import 'package:tin_flutter/ui/activity/brand/recommend/brand_recommend_binding.dart';
import 'package:tin_flutter/ui/activity/brand/recommend/brand_recommend_page.dart';
import 'package:tin_flutter/ui/activity/login/login_binding.dart';
import 'package:tin_flutter/ui/activity/login/login_page.dart';
import 'package:tin_flutter/ui/activity/main/main_binding.dart';
import 'package:tin_flutter/ui/activity/main/main_page.dart';

class Routes {
  static final String login = "/login";
  static final String main = "/";
  static final String brandRecommend = "/brandRecommend";
  static final String brandDetail = "/brandDetail";
  static final String multiplex = "/multiplex";
  static final String connect = "/connect";
  static final String webview = "/webview";

  static final List<GetPage> getPages = [
    GetPage(name: login, binding: LoginBinding(), page: () => LoginPage()),
    GetPage(name: main, binding: MainBinding(), page: () => MainPage()),
    GetPage(
        name: brandRecommend, binding: BrandRecommendBinding(), page: () => BrandRecommendPage()),
    GetPage(name: brandDetail, binding: BrandDetailBinding(), page: () => BrandDetailPage())
  ];
}
